package com.zyx.mybatisdemo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author Yaxi.Zhang
 * @since 2021/8/30 17:58
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Dept implements Serializable {
    private Integer id;
    private String name;
    /**
     * 员工的关系属性
     */
    private List<Emp> emps;
}
